package cn.lcc.utils.watch;

import cn.lcc.utils.core.enums.ParserPackConst;
import hy.iot.core.annotation.IotField;
import hy.iot.core.annotation.IotFieldClass;
import hy.iot.core.entity.parseTypeEnum;

/**
 * 33472a393632303435393434302a303039312a44454d4f2c3031303732342c3031303530382c412c33322e3933383336332c4e2c3131352e383639373638332c452c302e33352c3230322e332c302e302c31322c3130302c35342c302c302c30303030303030302c312c302c3436302c302c32323234392c3235323236353535322c3138382c312c2c39433a37463a38313a37333a41353a38422c2d39332c302e30
 *
 * UD,240816,144404,
 * V,0.000000,N,0.000000,E,
 * 0.00,速度
 * 0.0,方向
 * 100.0海拔
 * ,0,卫星个数
 * 54, 信号强度
 * 91, 电量
 * 252, 步数
 * 0, 翻滚次数
 * 00000000, 终端状态
 * 1, 基站个数
 * 1,
 * 460, mcc
 * 0, mnc 网号
 * 22003, 基站area
 * 15298688, 基站number
 * 39, 信号强度
 * 5, wifi 数量
 * wifi0,78:60:5b:b4:78:ec,-47,
 * wifi1,a4:1a:3a:8d:6e:8e,-81,
 * wifi2,f4:84:8d:6c:e8:9c,-82,
 * wifi3,d8:38:0d:5a:23:e1,-86,
 * wifi4,f0:16:28:1a:72:4c,-89,
 * 24
 *
 *
 */
@IotFieldClass(hexValueOptions = ",",parseSchema =ParserPackConst.HEX_TO_STRING)
public class UD extends WatchHeader {

    @IotField(desc = "年份",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 1,version = {"0"})
    private String year;
    @IotField(desc = "时间",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 2)
    private String time;
    @IotField(desc = "定位状态",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 3)
    private String gpsStatus;
    @IotField(desc = "纬度",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 4)
    private String lat;
    @IotField(desc = "经度",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 6)
    private String lon;
    @IotField(desc = "速度",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 8)
    private String speed;
    @IotField(desc = "方向",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 9)
    private String direction;
    @IotField(desc = "信号强度",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 12)
    private String gsm;
    @IotField(desc = "电量",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 13)
    private String battery;
    @IotField(desc = "步数",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 14)
    private String steps;
    @IotField(desc = "终端状态",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 16)
    private String status;
    @IotField(desc = "基站所属位置",parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 18,hexLength = 3)
    private String mcc;
    @IotField(desc = "基站信息",parseType = parseTypeEnum.LIST,parseSchema = ParserPackConst.HEX_TO_HEX,hexStart = 17,zoomNum = 3,afterZoomNum=3)
    private Object mnc;
    @IotField(desc = "wifi信息",parseType = parseTypeEnum.LIST,parseSchema = ParserPackConst.HEX_TO_HEX,zoomNum = 3)
    private Object wifi;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getGpsStatus() {
        return gpsStatus;
    }

    public void setGpsStatus(String gpsStatus) {
        this.gpsStatus = gpsStatus;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getGsm() {
        return gsm;
    }

    public void setGsm(String gsm) {
        this.gsm = gsm;
    }

    public String getBattery() {
        return battery;
    }

    public void setBattery(String battery) {
        this.battery = battery;
    }

    public String getSteps() {
        return steps;
    }

    public void setSteps(String steps) {
        this.steps = steps;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Object getWifi() {
        return wifi;
    }

    public void setWifi(Object wifi) {
        this.wifi = wifi;
    }

    public Object getMnc() {
        return mnc;
    }

    public void setMnc(Object mnc) {
        this.mnc = mnc;
    }

    public String getMcc() {
        return mcc;
    }

    public void setMcc(String mcc) {
        this.mcc = mcc;
    }
}